/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package runebound.combate;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author malopez
 */
public class RBRegistroInformacion {
    private static final RBRegistroInformacion instance = new RBRegistroInformacion();
    private int lineaActual;
    private List<LineaRegistro> registro;

    public RBRegistroInformacion() {
        this.lineaActual = 0;
        this.registro = new ArrayList<>();
    }

    
    public static RBRegistroInformacion getInstance() {
        return instance;
    }
    
    public void registro(LineaRegistro linea){
        this.registro.add(linea);
        this.lineaActual++;
        System.out.println(this.lineaActual+":"+linea);
        
    }
    
}
